package com.city.service.house;

import com.city.domain.pub.PubHouseinfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
*@author 方少
*@Description
*@Date 2018/7/25 9:38
*@Param
*@return
*/
public interface RealHouseSearch extends JpaRepository<PubHouseinfo,Integer> {
    List<PubHouseinfo> findByUpdateTimeLike(String time);
    Long countByVillageAndUpdateTimeLike(String village,String time);
    List<PubHouseinfo> findByVillage(String village);
    Long countByVillage(String village);
}
